//
//  YZMBankCardModel.h
//  YZMicroStock
//
//  Created by wangminhong on 16/4/18.
//  Copyright © 2016年 cqjr. All rights reserved.
//

#import <Mantle/Mantle.h>

@interface YZMBankCardModel : MTLModel<MTLJSONSerializing>

@property (nonatomic, assign) long long cid;
@property (nonatomic, copy) NSString *bankCode;
@property (nonatomic, copy) NSString *bankName;
@property (nonatomic, copy) NSString *province;
@property (nonatomic, copy) NSString *city;
@property (nonatomic, copy) NSString *branch;
@property (nonatomic, copy) NSString *cardNumber;
@property (nonatomic, copy) NSString *phoneNumber;

@property (nonatomic, strong, readonly) NSString *imageName;
@property (nonatomic, strong, readonly) NSString *formatString;
@property (nonatomic, strong, readonly) NSString *formatNumber;
@property (nonatomic, assign, readonly) BOOL isCompletion;/*是否已完善*/

@property (nonatomic, assign) BOOL defaultFlag;

- (UIImage *)iconImage;
- (NSString *)formatdefaultCardName;

@end
